<?php /* Smarty version Smarty-3.1.13, created on 2014-11-04 17:28:53
         compiled from "F:\phpweb\cms\templates\post.tpl" */ ?>
<?php /*%%SmartyHeaderCode:598454589c55775c79-57252404%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c3a5a6e6222fdde6f560d9fbedad30d38af1967b' => 
    array (
      0 => 'F:\\phpweb\\cms\\templates\\post.tpl',
      1 => 1413253379,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '598454589c55775c79-57252404',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'postelement' => 0,
    'posttags' => 0,
    'tag' => 0,
    'pre_post' => 0,
    'nxt_post' => 0,
    'postid' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_54589c55905a88_27065343',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54589c55905a88_27065343')) {function content_54589c55905a88_27065343($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("layouts/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="container mt20">
	<div class="wrapper">
<?php echo $_smarty_tpl->getSubTemplate ("layouts/crumb.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

		<div id="texebox" class="mt15">
			<?php if ($_smarty_tpl->tpl_vars['postelement']->value!=null&&$_smarty_tpl->tpl_vars['postelement']->value!=''){?> 
			<a href="<?php echo $_smarty_tpl->tpl_vars['postelement']->value->post_link;?>
" id="addcart">buy</a>
			<div class="title titlet-bt">
				<h1><?php echo $_smarty_tpl->tpl_vars['postelement']->value->post_title;?>
</h1>
			</div>
			<div class="post-meta-top mt15">
				<span class="posts"><?php echo $_smarty_tpl->tpl_vars['postelement']->value->username;?>
</span> <span class=" time"><?php echo $_smarty_tpl->tpl_vars['postelement']->value->post_date;?>
</span>
				<span class="preview" id="clicknumspan"><font><?php echo $_smarty_tpl->tpl_vars['postelement']->value->click_count;?>
views</font></span>
			</div>
			<div class="fmt mt20">
				<?php echo $_smarty_tpl->tpl_vars['postelement']->value->post_content;?>

			</div>
			<div class="texttag">
				<?php  $_smarty_tpl->tpl_vars['tag'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tag']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['posttags']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tag']->key => $_smarty_tpl->tpl_vars['tag']->value){
$_smarty_tpl->tpl_vars['tag']->_loop = true;
?>
						<a href='<?php echo $_smarty_tpl->tpl_vars['tag']->value['url'];?>
'><?php echo $_smarty_tpl->tpl_vars['tag']->value['name'];?>
</a>
				<?php } ?>
<!-- 				 <a href="#">世界杯</a> <a href="#">俄罗斯</a> -->
			</div>
			<div class="share mt20">
                <div class="jiathis_style_32x32">
                    <!-- AddThis Button BEGIN -->
                    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
                        <a class="addthis_button_facebook"></a>
                        <a class="addthis_button_twitter"></a>
                        <a class="addthis_button_google_plusone_share"></a>
                        <a class="addthis_button_pinterest_share"></a>
                        <a class="addthis_button_email"></a>
                        <a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style"></a>
                    </div>
                    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
                    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5343ad843f8ba58f"></script>
                    <!-- AddThis Button END -->

                    <!--
                    <span class="zan"><a  href="javascript:void(0)" id="zanyixiabtn">like <font title="zan">you do it<b id="agreecount"><?php echo $_smarty_tpl->tpl_vars['postelement']->value->agree_count;?>
</b></font></a></span>
                     -->



                </div>
			</div>
			<div class="page-n-p mt20">
				<div class="f_l text-prev">
					<?php if ($_smarty_tpl->tpl_vars['pre_post']->value!=null&&$_smarty_tpl->tpl_vars['pre_post']->value!=''){?> 
						<span>up</span> <a href="<?php echo $_smarty_tpl->tpl_vars['pre_post']->value['url'];?>
"><h3><?php echo $_smarty_tpl->tpl_vars['pre_post']->value['name'];?>
</h3></a>
					<?php }?>
				
				</div>
				<div class="f_r text-next">
					<?php if ($_smarty_tpl->tpl_vars['nxt_post']->value!=null&&$_smarty_tpl->tpl_vars['nxt_post']->value!=''){?> 
						<span>next</span> <a href="<?php echo $_smarty_tpl->tpl_vars['nxt_post']->value['url'];?>
"><h3><?php echo $_smarty_tpl->tpl_vars['nxt_post']->value['name'];?>
</h3></a>
					<?php }?>
				</div>
			</div>
			<?php }?>
			<div class="textcontent-ad mt20" id='postcontent'>
<!-- 				<img src="<?php echo @constant('WEBSITE_URL');?>
public/photo/726x30-AD.gif" /> -->
			</div>
			<div class="comments">
				<div class="title titlet-h mt15">Comments</div>
				<div class="commentslist mt15">

					<ul id="postcomentsul">
                        <li>
                            <script type="text/javascript">
                                /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
                                var disqus_shortname = 'babyspeedy'; // required: replace example with your forum shortname

                                /* * * DON'T EDIT BELOW THIS LINE * * */
                                (function () {
                                    var s = document.createElement('script'); s.async = true;
                                    s.type = 'text/javascript';
                                    s.src = '//' + disqus_shortname + '.disqus.com/count.js';
                                    (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
                                }());
                            </script>

                        </li>
						<li>
                            <div id="disqus_thread"></div>
                            <script type="text/javascript">
                                /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
                                var disqus_shortname = 'babyspeedy'; // required: replace example with your forum shortname

                                /* * * DON'T EDIT BELOW THIS LINE * * */
                                (function() {
                                    var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                                    dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
                                    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
                                })();
                            </script>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="rightsub">

			<div class="subad mt15" id="rightContent">
<!-- 				<a href="#"><img src="<?php echo @constant('WEBSITE_URL');?>
public/photo/300x300-AD.gif" /></a>   <a href="/game" title="ad">	<img src="http://www.ibo123.net//public/photo/game.gif"></a>-->
			</div>
            <?php echo $_smarty_tpl->getSubTemplate ("layouts/hottag.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

            <?php echo $_smarty_tpl->getSubTemplate ("layouts/email_sub.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

		</div>
	</div>
 
</div>
<script language="JavaScript">
         var weburl = '<?php echo @constant('WEBSITE_URL');?>
';
         var parms = {'id':<?php echo $_smarty_tpl->tpl_vars['postid']->value;?>
};
 </script>
<?php echo $_smarty_tpl->getSubTemplate ("layouts/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }} ?>